package com.grape.vo;

import com.grape.entity.SysMenu;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author  putao
 * @email   2628279194@qq.com
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MenuVO extends SysMenu {
    /**
     * 父菜单ID
     */
    @ApiModelProperty("父菜单ID")
    private String parentId;
    /**
     * 标题
     */
    private String title;
    /**
     * key
     */
    private String key;
    /**
     * 值
     */
    private String value;
    /**
     * 子菜单
     */
    private List<MenuVO> children;
}
